< previous page page_248 next page >

Page 248
Once the data source name (DSN) has been added to your system, you can access it from your application. The DSN is any name you want to use. For consistency, it is best to make your DSNs the same for all your users.
A DSN can be created for each user on a particular machine, or it can be created once for every user of a particular machine. To create one DSN for all users on a particular machine, click the System DSN tab and create the DSN there. To create a DSN for one particular user, you create the DSN under the User DSN tab.
Adding a New Microsoft SQL Server Data Source
Lets walk through the steps for setting up a DSN for a Microsoft SQL Servertype database. If you dont have SQL Server, you can skip to the next section, where youll learn to create a data source name for an Access MDB.
EXERCISE
Configuring an ODBC Data Source
1. Bring up the ODBC Data Sources Administrator dialog box from Control Panel.
2. Click the Add button.
3. Select SQL Server from the list of drivers in the dialog box shown in Figure 12.6.
4. Click the Finish button to create the new data source.
8160-0248a.gif
Figure 12.6
The Create New Data Source dialog box.

 
< previous page page_248 next page >

If you like this book, buy it!